

import hbase


'''
pip install protobuf, kazoo


'''

zk = 'hb-uf6i3710q15t89giw-001.hbase.rds.aliyuncs.com:2181'

if __name__ == '__main__':
    with hbase.ConnectionPool(zk).connect() as conn:
        table = conn['news']['news']
        print(table)
        for row in table.scan():
            print(row)
